import { Swiper } from "antd-mobile";
import React from 'react'

export default ({ list }) => {
    console.log(list,"faskdfasf");
  return (
      <div>
                <Swiper autoplay loop>
        {list.map((item) => (
          <Swiper.Item key={item.id}>
            <div
              style={{ height: "200px" }}
            >
              <img
                style={{ height: "100%", width: "100%" }}
                src={"/api" + item.imgUrl}
                alt="描述"
              />
            </div>
          </Swiper.Item>
        ))}
      </Swiper>
    </div>
  )
}
